package com.bmadmin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bmadmin.domain.ZcFlwhDomain;
import com.bmadmin.mapper.XtqxDao;
import com.bmadmin.mapper.ZcflwhDao;
import com.bmadmin.service.ZcFlwhService;
@Service
@Transactional
public class ZcFlwhServiceImpl implements ZcFlwhService {
	@Autowired
	ZcflwhDao zcflwhDao;
	
	public List<ZcFlwhDomain> getZcflList(Map map){
		return zcflwhDao.getZcflList(map);
	}
	
	public int insertZcflwh(ZcFlwhDomain zcflwh){
		return zcflwhDao.insertZcflwh(zcflwh);
	}
	
	public int deleteZcfl(String zcfl_dm){
		return zcflwhDao.deleteZcfl(zcfl_dm);
	}
	
	public int updateZcfl(ZcFlwhDomain zcflwh){
		return zcflwhDao.updateZcfl(zcflwh);
	}
	
	public String getGlymc(String userid){
		return zcflwhDao.getGlymc(userid);
	}
}
